@{
    ViewBag.Title = "即时通讯";
    }
@section head{
<script type="text/javascript">
    function ChatListNodeClick(node) {
        if (node.attributes.type == 'manager') {
           window.top.openSendWind(node.id, node.text);
        }
    }
</script>
}
@section body{
<body style="padding:5px;">
    <div class="easyui-layout"  data-options="fit:true"> 
        <div region="center" data-options="border:false">
            <ul class="easyui-tree" id="userlist" data-options="onClick:ChatListNodeClick,url:'@Url.Action("ChatManagerList")'">  
            </ul>  
        </div>
        <div region="south" data-options="border:false" style="height:30px; text-align:right; padding:0px 10px;">
            <div class="hr"></div>
            <div class="ChatManagerListStatus">
                @ViewBag.OnLineCount 
                /
                @ViewBag.AllCount
            </div>
        </div>
    </div>
</body>
}
